import {createSlice} from '@reduxjs/toolkit'

const userSlice=createSlice({
    name:'user',
    initialState:{
        info:null
    },
    reducers:{
        outdeng(state,action){
            state.info=action.payload
        }   
    }
})
export default userSlice.reducer
export const {outdeng}=userSlice.actions